const mysql = require('mysql2')

const db = mysql.createPool({
	host: 'localhost',
	user: 'root',
	password: '123456',
	database: 'dev_blog',
	port: '3306'
})

module.exports = db
